<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>统一身份集成示例</title>
<script type="text/javascript">
function login(){
	window.location.href = "fsso.jsp"; 
}
function downloadfile(){
	window.location.href = "init.jsp?id=0"; 
}
function reload(){
	window.location.href = "init.jsp?id=2"; 
}
</script>
<style type="text/css">
			.body {
			font-family: "Microsoft YaHei", "微软雅黑";
			color: #666666;
			background: #ffffff;
			font-size: 14px;
			width: 100%;
		}
		
		a {
			text-decoration: none;
			color: #333333;
		}
		.table11 {
	width: 1200px;
	border: none;
	border-collapse: collapse;
	margin: 50px auto;
}

.table11 td.newtd {
	background: #f6fafb;
	text-align: center;
	padding: 15px;
}

.table11 td.wBg_td {
	background: #fff;
	text-align: center;
	padding:15px;
}
.table11 td.tt_td {
	background: #fff;
	text-align: center;
	padding: 2px 4px;
}

.table11 td {
	border: 1px solid #dfdfdf;
	color: #000;
}
.Errora{
	text-align: center;
	padding: 10px;
}
a.chaxunBt {
	display: inline-block;
	width: 110px;
	height: 30px;
	border-radius: 3px;
	overflow: hidden;
	line-height: 30px;
	text-align: center;
	margin-left: 10px;
	color: #ffffff;
	background: #208ad6;
}

.chaxunBt {
	border: #208ad6 1px solid;
}
.white{color: #FFFFFF;}

</style>

</head>
<body>
<div id="loginwrap">

	<table width="800" border="0" cellspacing="10" cellpadding="0" class="table11">
		<tbody>
			<tr>
				<td class="tt_td" colspan="6" style="height: 35px; color: #000000; font-size: 18px; " colspan="6">统一身份集成示例</td>
			</tr>
			<tr>
				<td class="newtd" style="width: 20%;">认证方式</td>
				<td class="newtd" style="width: 20%;">参数说明</td>
				<td class="newtd" style="width: 20%;">安全级别2</td>
				<td class="newtd" style="width: 20%;">安全级别3a</td>
				<td class="newtd" style="width: 20%;">安全级别3b</td>

			</tr>
			<tr>

				<td class="wBg_td" style="width: 20%;">用户名+密码</td>
				<td class="wBg_td" style="width: 20%;">TAMUsernamePassword</td>
				<td class="wBg_td" style="width: 20%;">√</td>
				<td class="wBg_td" style="width: 20%;"><span style="color: #ff0000">X</span></td>
				<td class="wBg_td" style="width: 20%;"><span style="color: #ff0000">X</span></td>
			</tr>
			<tr>

				<td class="wBg_td" style="width: 20%;">用户名+OTP</td>
				<td class="wBg_td" style="width: 20%;">OTPUsername</td>
				<td class="wBg_td" style="width: 20%;">√</td>
				<td class="wBg_td" style="width: 20%;"><span style="color: #ff0000">X</span></td>
				<td class="wBg_td" style="width: 20%;"><span style="color: #ff0000">X</span></td>
			</tr>
			<tr>

				<td class="wBg_td" style="width: 20%;">Ukey</td>
				<td class="wBg_td" style="width: 20%;">SIAMTLSClient</td>
				<td class="wBg_td" style="width: 20%;">√</td>
				<td class="wBg_td" style="width: 20%;">√</td>
				<td class="wBg_td" style="width: 20%;"><span style="color: #ff0000">X</span></td>
			</tr>
			<tr>

				<td class="wBg_td" style="width: 20%;">用户名密码+OTP</td>
				<td class="wBg_td" style="width: 20%;">OTPUsernamePassword</td>
				<td class="wBg_td" style="width: 20%;">√</td>
				<td class="wBg_td" style="width: 20%;">√</td>
				<td class="wBg_td" style="width: 20%;"><span style="color: #ff0000">X</span></td>
			</tr>
			<tr>

				<td class="wBg_td" style="width: 20%;">用户名密码+短信</td>
				<td class="wBg_td" style="width: 20%;">SMSUsernamePassword</td>
				<td class="wBg_td" style="width: 20%;">√</td>
				<td class="wBg_td" style="width: 20%;">√</td>
				<td class="wBg_td" style="width: 20%;"><span style="color: #ff0000">X</span></td>
			</tr>
			<tr>

				<td class="wBg_td" style="width: 20%;">用户名密码+Ukey</td>
				<td class="wBg_td" style="width: 20%;">UsernamePasswordClientCert</td>
				<td class="wBg_td" style="width: 20%;">√</td>
				<td class="wBg_td" style="width: 20%;">√</td>
				<td class="wBg_td" style="width: 20%;">√</td>
			</tr>

			<tr>
				<td class="wBg_td" style="width: 100%;" colspan="6">sp-simple-config.properties中配置项修改如下被标红参数 sp.auth.method=<span style="color: #ff0000;">TAMUsernamePassword</span></td>
			</tr>
			<tr>
				<td class="Errora" colspan="6">
					<a href="javascript:void(0)" class="chaxunBt white" onclick="login()">登录</a>
					<a href="javascript:void(0)" class="chaxunBt white" onclick="reload()">加载metadata</a>
					<a href="javascript:void(0)" class="chaxunBt white" style="width:180px" onclick="downloadfile()">下载sp、idp-matadata文件</a>
				</td>
			</tr>

		</tbody>

	</table>

</div>
</body>
</html>